package com.voice.call.service;

import java.util.List;
import java.util.Map;

import com.voice.call.entity.VosAccount;



public interface VosService {
	
	//获取vos帐号
	Map<String, Object> getVosAccount(VosAccount acct,String phone,String displayNumber);

	//创建话机
	boolean createPhone(VosAccount acct,String phone,Map<String,Object> phoneMap,String displayNumber);
	
	//删除话机
	boolean deletePhone(VosAccount acct,String phone);
	
	//修改显示号码
	boolean modifyDisplayNumber(String account,String displayNumber);
	
	//查询话机
	Map<String,Object> queryPhone(VosAccount acct,String phone,String displayNumber);
	
	//在线话机
	List<String> queryPhoneOnline(String[] phones);
	
	//获取所有在线话机
	String[] GetAllPhoneOnline();
	
	//中断电话
	boolean disconnectCall(String[] callIds);
	
	//清空无用话机
	void clearUnTelephone(VosAccount acct);
}
